
 
 D C . h a s C l a s s ( s t r i n g C l a s s N a m e ) 
 
 
 
 D e s c r i p t i o n :   C h e c k s   i f   o n e   o r   m o r e   s p a c e   d e l i m i t e d   c l a s s   n a m e s   e x i s t   o n   D C . w r a p p e r . 
 
 
 
 R e t u r n s :   B o o l e a n :   t r u e   i f   f o u n d ,   f a l s e   o t h e r w i s e . 
 
 
 
 N o t e :   I f   m o r e   t h a n   o n e   c l a s s   n a m e   i s   l i s t e d   i n   t h e   s e c o n d   p a r a m e t e r ,   D C . h a s C l a s s   w i l l   o n l y   r e t u r n   t r u e   i f   a l l   o f   t h e   s p e c i f i e d   c l a s s   n a m e s   e x i s t   w i t h i n   t h e   s p e c i f i e d   e l e m e n t .   T h e   D C . h a s C l a s s ( )   f u n c t i o n   a l w a y s   r e t u r n s   a   B o o l e a n   v a l u e ,   e v e n   w h e n   c h a i n e d . 
 
 
 
 E x a m p l e : 
 
 
 
 v a r   a l r e a d y H a s C l a s s   =   D C . h a s C l a s s ( " s e l e c t e d - o p t i o n " ) ; 
 
 